<?php
namespace App\Events;
use Hhxsv5\LaravelS\Swoole\Task\Event;

/**
 * Created by PhpStorm.
 * User: Woo
 * Date: 2018/3/7
 * Time: 13:57
 */
class TestEvent extends Event
{
    private $data;
    public function __construct($data)
    {
        $this->data = $data;
    }
    public function getData()
    {
        return $this->data;
    }
}